//
//  YGRegisterBLL.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/3/21.
//

#import <Foundation/Foundation.h>
#import "YGAuthCode.h"
@class YGUserTypeModel;
@class YGSickTypeModel;
@class YGRecommandModel;
@class YGRegisterConfigureModel;
NS_ASSUME_NONNULL_BEGIN

@interface YGRegisterBLL : NSObject

+ (void)requestRigisterNumberTypeWithSuccess:(void(^)(NSArray <YGUserTypeModel *>*model))successBlock fail:(void(^)(NSError *error))failBlock;

+ (void)requestRigisterSickTypeWithSuccess:(void(^)(NSArray <YGSickTypeModel *>*model))successBlock fail:(void(^)(NSError *error))failBlock;

+ (void)requstAuthCodeWithType:(YGAuthCodeType)type phone:(NSString *)phone success:(void(^)())successBlock;

+ (void)requestServersuccess:(void(^)(NSString *content))successBlock;

+ (void)requestSLAsuccess:(void(^)(NSString *content))successBlock;

+ (void)requestRecommandCode:(NSString *)code success:(void(^)(YGRecommandModel *model))successBlock fail:(void(^)(NSError *error))failBlock;

+ (void)rquestRegisterModel:(YGRegisterConfigureModel *)model success:(void(^)())successBlock fail:(void(^)(NSError *error))failBlock;


@end

NS_ASSUME_NONNULL_END
